package com.heima.article.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.github.pagehelper.Page;
import com.heima.model.article.pojos.ApArticle;
import com.heima.model.article.pojos.ApArticleContent;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author mgw
 * @create 2021/9/26 17:33
 */
public interface ApArticleMapper extends BaseMapper<ApArticle> {
    Page<ApArticle> homeList(Integer tag);

    ApArticleContent findArticleById(String articleId);

    void updateStaticUrl(@Param("url")String url,@Param("id") String id);
}
